package io.polly.starter.common.autoconfigure;

import io.polly.common.config.DynamicExecutorProperties;
import io.polly.common.constant.DynamicExecutorConstant;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author ldz
 * @Classname Formatter
 * @Version V1.0
 * @Description TODO
 * @Date 2022/3/20 13:06
 */
@Configuration
@EnableConfigurationProperties(DynamicExecutorProperties.class)
@ConditionalOnProperty(name = DynamicExecutorConstant.DYNAMIC_EXECUTOR_ENABLED_PROP, matchIfMissing = true, havingValue = "true")
public class BaseBeanAutoConfiguration {


}
